// Copyright (c) Huoty, All rights reserved
// Author: Huoty <sudohuoty@163.com>
// CreateTime: 2021-01-05 10:05:39

package main

import "fmt"

func foo(s string) {
	fmt.Println(s)
}

func main() {
	var f func(string) = foo
	f("hello world")
}
